package base.day24;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class MyCharacterStream {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new FileReader("E:\\java\\java project\\java-code\\d.txt"));
        String line1 = br.readLine();
        String line2=br.readLine();
        String line3=br.readLine();
        System.out.println(line1);
        System.out.println(line2);
        System.out.println(line3);

        String line;
        while ((line=br.readLine())!=null){
            System.out.println(line);
        }
        br.close();

    }
}
